﻿using System;

namespace DateTimeApplicationSettings
{
    public class Program
    {
        public static void Main()
        {
            Console.WriteLine("Last used on: {0}", DateTimeLast.Default.LastUsed);
            DateTimeLast.Default.LastUsed = DateTime.Now;
            Console.WriteLine("Current time: {0}", DateTimeLast.Default.LastUsed);
            DateTimeLast.Default.Save();
        }
    }
}
